<a href="blog-main.php"><img src="images/logo.png" width="158" height="50" border="0" class="logo" /></a>
<ul>
<li>
<a href="loginout.php">登出系統</a></li>
<?php if($_SESSION["box11"]==1){?>
    <li><a href="admin-ip.php">來源IP查詢</a></li>
	<?php }?>
	<?php if($_SESSION["box11"]==1){?>
    <li><a href="admin_manage.php">個人帳號管理</a></li>
	<?php }else{?>
	 <li><a href="admin_password.php?id=<?php echo $_SESSION["id2"];?>&username=<?php echo $_SESSION["username2"];?>">個人帳號管理</a></li>
	<?php }?>
	
	
	
    <li><a href="#">站務通知</a></li>
	
	<?php if($_SESSION["box11"]==1 or  $_SESSION["box55"]==1 or  $_SESSION["box66"]==1 or  $_SESSION["box77"]==1 ){?>
	<li><a href="ad-sale-main.php">廣告管理</a></li>
	<?php }?>
	
	<?php if($_SESSION["box11"]==1 or  $_SESSION["box22"]==1 or  $_SESSION["box33"]==1 or  $_SESSION["box44"]==1 ){?>
    <li><a href="blog-main.php">文章管理</a></li>
	<?php }?>
	
    <li>主功能列表</li>
  </ul>